#ifndef EPA_EPA_BUF_H
#define EPA_EPA_BUF_H

#include "lwip/pbuf.h"

/*typedef	struct CEPABuf
{

	struct pbuf *buf;

}CEPABuf;
*/
typedef struct pbuf CEPABuf;

#define CEPABufAlloc(length)	(pbuf_alloc(PBUF_IP,length,PBUF_RAM))




typedef struct CEPAPacketHead
{
	uint8		serviceID;
	uint8		unset;
	char		reserved[2];
	uint16		length;
	uint16		msgID;

}CEPAPacketHead;


/*typedef struct CEPAMsg
{

};*/

#endif